package com.song.tools.songtest.beans.request;

import com.song.tools.mvc.request.SuperQueryRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.time.LocalDateTime;

/**
 * <p>
 * 角色表查询请求体
 * </p>
 *
 * @author song tools
 * @since 2024-07-09
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(title = "SysRoleQueryRequest", description = "角色表查询请求体")
public class SysRoleQueryRequest extends SuperQueryRequest {

    @Serial
    private static final long serialVersionUID = -1;

    /**
     * 角色编码
     */
    @Schema(title = "code", description = "角色编码")
    private String code;
    /**
     * 角色名
     */
    @Schema(title = "roleName", description = "角色名")
    private String roleName;
    /**
     * 备注
     */
    @Schema(title = "remark", description = "备注")
    private String remark;
    /**
     * 创建人用户名
     */
    @Schema(title = "createUsername", description = "创建人用户名")
    private String createUsername;
    /**
     * 创建时间-起始
     */
    @Schema(title = "createTimeStart", description = "创建时间-起始")
    private LocalDateTime createTimeStart;
    /**
     * 创建时间-截止
     */
    @Schema(title = "createTimeEnd", description = "创建时间-截止")
    private LocalDateTime createTimeEnd;
    /**
     * 更新人用户名
     */
    @Schema(title = "updateUsername", description = "更新人用户名")
    private String updateUsername;
    /**
     * 更新时间-起始
     */
    @Schema(title = "updateTimeStart", description = "更新时间-起始")
    private LocalDateTime updateTimeStart;
    /**
     * 更新时间-截止
     */
    @Schema(title = "updateTimeEnd", description = "更新时间-截止")
    private LocalDateTime updateTimeEnd;
}
